﻿@model IEnumerable<Domain.Model.Entity.OZUserDetail>

@{
    ViewBag.Title = "test3";
}
@{
    <ul>

        @{ for (int i = 0; i < 10; i++)
           {
            <li>@ViewBag.user1.OZUser.UserLoginName</li>  
           }
        }
    </ul>
}
<h2>test3</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.DetailID)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.DetailAge)
        </th>
        <th></th>
    </tr>

    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.DetailID)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.DetailAge)
            </td>
            <td>
                @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
            </td>
        </tr>
    }
</table>
